<?php
if (!defined('BASEPATH'))
	exit('No direct script access allowed');

class Reviews extends MX_Controller {

	public function __construct() {
		parent::__construct();
		
		$this->load->model('listing/listing_model');
		
		//$this->template->set_partial('nav_bar','header/nav_bar');
		
	}
	
	function index()
	{
		$this->template->set_layout('inner_layout');
		$profile_id = $this->commoncall->get_id(current_url());
		$data['reviews'] = $this->listing_model->getReviews($profile_id);
		$this->load->view('reviews',$data);
	}
	
}